package com.example.firstspringboot.service;

import com.example.firstspringboot.bean.User;

import java.util.List;

public interface IUserService {
    public User getUserById(Long id);

    public List<User> getUsers();

    public List<User> getUsersWithoutId();

    public void addUser(User user);

    public User updateUser(User user);

    public void deleteUserById(Long id);
}
